package com.kurumi.medical.pojo;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnore;

/**
 * 护理记录
 * @author lyh
 *
 */
public class HospitalizationNurseRecordInfo {

	/**
	 * 住院guid
	 */
	private String firstGuid;
	
	/**
	 * 病危天数
	 */
	private BigDecimal criticalOfDay;
	
	/**
	 * 病重天数
	 */
	private BigDecimal sickOfDay;
	
	/**
	 * 特级护理天数
	 */
	private BigDecimal specialNurseOfDay;
	
	/**
	 * 一级护理天数
	 */
	private BigDecimal firstLevelNurseOfDay;
	
	/**
	 * 二级护理天数
	 */
	private BigDecimal secondLevelNurseOfDay;
	
	/**
	 * 三级护理天数
	 */
	private BigDecimal threeLevelNurseOfDay;
	
	/**
	 * ICU理天数
	 */
	private BigDecimal ICUNurseOfDay;
	
	/**
	 * CCU理天数
	 */
	private BigDecimal CCUNurseOfDay;
	
	/**
	 * 护理明细集合
	 */
	private List<HospitalizationNurseRecord> nurseRecords = new ArrayList<HospitalizationNurseRecord>();

	public String getFirstGuid() {
		return firstGuid;
	}

	public void setFirstGuid(String firstGuid) {
		this.firstGuid = firstGuid;
	}

	public BigDecimal getCriticalOfDay() {
		return criticalOfDay;
	}

	public void setCriticalOfDay(BigDecimal criticalOfDay) {
		this.criticalOfDay = criticalOfDay;
	}

	public BigDecimal getSickOfDay() {
		return sickOfDay;
	}

	public void setSickOfDay(BigDecimal sickOfDay) {
		this.sickOfDay = sickOfDay;
	}

	public BigDecimal getSpecialNurseOfDay() {
		return specialNurseOfDay;
	}

	public void setSpecialNurseOfDay(BigDecimal specialNurseOfDay) {
		this.specialNurseOfDay = specialNurseOfDay;
	}

	public BigDecimal getFirstLevelNurseOfDay() {
		return firstLevelNurseOfDay;
	}

	public void setFirstLevelNurseOfDay(BigDecimal firstLevelNurseOfDay) {
		this.firstLevelNurseOfDay = firstLevelNurseOfDay;
	}

	public BigDecimal getSecondLevelNurseOfDay() {
		return secondLevelNurseOfDay;
	}

	public void setSecondLevelNurseOfDay(BigDecimal secondLevelNurseOfDay) {
		this.secondLevelNurseOfDay = secondLevelNurseOfDay;
	}

	public BigDecimal getThreeLevelNurseOfDay() {
		return threeLevelNurseOfDay;
	}

	public void setThreeLevelNurseOfDay(BigDecimal threeLevelNurseOfDay) {
		this.threeLevelNurseOfDay = threeLevelNurseOfDay;
	}

	public List<HospitalizationNurseRecord> getNurseRecords() {
		return nurseRecords;
	}

	public void setNurseRecords(List<HospitalizationNurseRecord> nurseRecords) {
		this.nurseRecords = nurseRecords;
	}
	
	public BigDecimal getICUNurseOfDay() {
		return ICUNurseOfDay;
	}

	public void setICUNurseOfDay(BigDecimal iCUNurseOfDay) {
		ICUNurseOfDay = iCUNurseOfDay;
	}

	public BigDecimal getCCUNurseOfDay() {
		return CCUNurseOfDay;
	}

	public void setCCUNurseOfDay(BigDecimal cCUNurseOfDay) {
		CCUNurseOfDay = cCUNurseOfDay;
	}

	@JsonIgnore
	public void clearEmptyNurseRecord(){
		for (int i = this.getNurseRecords().size() -1;i>=0;i--) {
			HospitalizationNurseRecord nurseRecord = this.getNurseRecords().get(i);
			if(nurseRecord.isEmpty()){
				this.getNurseRecords().remove(i);
			}
		}
	}
	
	
}
